package com.wjb.springcloud;

import com.wjb.config.TestConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

@EnableDiscoveryClient
@EnableFeignClients
@SpringBootApplication
@RibbonClient(name = "user-service",configuration = TestConfiguration.class)
public class Unit11SpringcloudOurfeignApplication {

    public static void main(String[] args) {
        SpringApplication.run(Unit11SpringcloudOurfeignApplication.class, args);
    }
}
